package com.feeyo.groundservice.checkin.constant

/**
 *作者：70893 on 2025-10-23
 *描述：
 */
enum class CheckInStatusType(val title: String, val code: Int) {
    ALL("全部", 0),
    CHECKING_IN("值机中", 1),
    WAIT_CHECK_IN("待开始", 2),
    FREE("空闲", 3),
    DANG_BAN("当班", 4);//单独处理的状态

    companion object {
        fun getType(code: Int) =
            entries.firstOrNull { it.code == code } ?: ALL
    }
}